package com.keymozy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("staff")
public class Staff {
    private Integer id;
    private String uname;
    private Integer did;//部门id
    private Integer pid;//职位
    private Integer sex;
    private String image;
    private String time;//入职时间
    private String phone;
    private String email;
    private String psw;
    @TableField(exist = false)
    private String rpsw;
    @TableField(exist = false)
    private Dept dept;
    @TableField(exist = false)
    private Position position;
    @TableField(exist = false)
    private Integer count;
}
// await this.$http(this.httpurl+'/staff/echartstaff/'+this.newDate(this.time[0])+'/'+this.newDate(this.time[1]))
//        .then((res)=>{
//        this.echarts=res.data.src
//        console.log(this.echarts)
//        })
//        var chartDom = document.getElementById('zone');